package com.hqj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 黄啟军
 * @version 1.0
 * @date 2020/8/4 0004
 */
@ApiModel(description = "QuestionBank",value = "QuestionBank")
@TableName(value="question_bank")
@Data
public class QuestionBank implements Serializable {
    @ApiModelProperty(value = "主键",required = false)
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    @ApiModelProperty(value = "题号",required = false)
    private Integer num;
    @ApiModelProperty(value = "题目",required = false)
    private String content;
    @ApiModelProperty(value = "答案",required = false)
    private String ans;
    @ApiModelProperty(value = "题目类型0单选1多选2判断",required = false)
    private Integer fkTypeId;
    @ApiModelProperty(value = "选项",required = false)
    private String choice;
    @ApiModelProperty(value = "分数",required = false)
    private Integer score;
    @ApiModelProperty(value = "创建时间",required = false)
    private Date insertDate;
    @ApiModelProperty(value = "修改时间",required = false)
    private Date updateDate;
    @ApiModelProperty(value = "分类id",required = false)
    private Long classifyId;
    @ApiModelProperty("0表示未删除1表示已删除")
    private Integer isDelete;
    @ApiModelProperty("分类名称")
    private String classifyName;
}
